﻿@{
    ViewBag.Title = "DeleteRoleForUser";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<h3>Delete A User from a Role</h3>

@using (Html.BeginForm("DeleteRoleForUser", "Admin"))
{
    @Html.AntiForgeryToken()
    @Html.ValidationSummary(true)

    <p>
        Username : @Html.TextBox("UserName")
        Role Name: @Html.DropDownList("RoleName", ViewBag.Roles as SelectList)

    </p>

    <input type="submit" value="Delete this user from Role" />
}